package cc.yihy.storage.aliyun;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Yihy
 * @version V1.0
 * @Package cc.yihy.storage
 * @Description:
 * @date 2017/6/27 15:31
 */

@ConfigurationProperties(prefix = "storage.aliyun-oss")
public class AliYunProperties {
    /**
     *
     */
    private String accessKeyId;
    private String accessKeySecret ;

    /**
     * 存储空间对象的名称
     */
    private String endpoint;


    private String bucketName;

    /**
     * 图片对外域名
     */
    private String domain;




    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }
}
